<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    
    <style>
        .btn1{
            width: 150px;
            height: 50px;
            background-color: blue;
            color: red;
            font-size: 20px;
            font-family: '隶书';
            border: 3px solid brown;
            border-radius: 5px;
        }
    </style>
    
    <script src = "js/btn.js"></script>
</head>
<body>
    <button class="btn1" onclick="surprise()">点我有惊喜</button>
    <!-- onclick 即表示单击按钮后执行事件 -->
</body>
</html>